const Token_KEY = 'token'
//保存token
export const setToken = (token) => localStorage.setItem(Token_KEY, token)
//获取token
export const getToken = () => localStorage.getItem(Token_KEY)
//删除token
export const ClearToken = () => localStorage.removeItem(Token_KEY)
//token是否存在
export const inspectToken=()=>getToken()?true:false